<AppOrgPersonnelSelect
    {{#eq ctrlType 'grid'}}
    name="{{#if dataItemName}}{{dataItemName}}{{else}}{{item.codeName}}{{/if}}"
    :data="record"
{{/eq}}
{{#eq ctrlType 'panel'}}
    name="{{item.name}}"
    :data="store.layoutData"
{{/eq}}
{{#eq ctrlType 'form'}}
    name="{{item.codeName}}"
    :data="store.data"
{{/eq}}
{{#if (eq ctrlType 'form')}}
    :disabled="store.detailModel.{{item.codeName}}.disabled"
{{else if (eq ctrlType 'grid')}}
  {{#if (eq item.enableCond 0)}}
    :disabled="true"
  {{else if (eq item.enableCond 1)}}
    :disabled="!Object.is(record.srfuf,0)"
  {{else if (eq item.enableCond 2)}}
    :disabled="!Object.is(record.srfuf,1)"
  {{/if}}
{{else if (eq ctrlType 'panel')}}
  {{#if isMultiData}}
  :disabled="store.layoutModelDetails?.[`{{item.name}}_${data.index}`]?.disabled ? true : false"
  :value="store.layoutData[`{{item.name}}_${data.index}`]"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam, data.index) }"
  {{else}}
  :disabled="store.layoutModelDetails?.{{item.name}}?.disabled ? true : false"
  :value="store.layoutData.{{item.name}}"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
  {{/if}}
{{/if}}
{{#if item.psEditor.readOnly}}
    :readonly="{{item.psEditor.readOnly}}"
{{/if}}
{{#if item.psEditor.psAppCodeList}}
    codelistTag="{{item.psEditor.psAppCodeList.codeListTag}}"
    codelistType="{{item.psEditor.psAppCodeList.codeListType}}"
{{/if}}
{{#if item.psEditor.editorParams}}
{{#if item.psEditor.editorParams.treeurl}}
    treeurl="{{item.psEditor.editorParams.treeurl}}"
{{/if}}
{{#if item.psEditor.editorParams.url}}
    url="{{item.psEditor.editorParams.url}}"
{{/if}}
{{#if item.psEditor.editorParams.multiple}}
    :multiple="{{item.psEditor.editorParams.multiple}}"
{{/if}}
{{#if item.psEditor.editorParams.filter}}
    filter="{{item.psEditor.editorParams.filter}}"
{{/if}}
{{#if item.psEditor.editorParams.fillMap}}
    :fillMap="{{item.psEditor.editorParams.fillMap}}"
{{/if}}
{{#if item.psEditor.editorParams.requestMode}}
    requestMode="{{lowerCase item.psEditor.editorParams.requestMode}}"
{{/if}}
{{#if item.psEditor.editorParams.noButton}}
    :noButton="{{item.psEditor.editorParams.noButton}}"
{{/if}}
{{/if}}
{{#if item.valueItemName}}
    valueItem="{{item.valueItemName}}"
{{/if}}
{{#if item.psEditor.pickupPSAppView }}
    pickUpView="{{item.psEditor.pickupPSAppView.codeName}}"
{{/if}}
    :context="store.context"
    style="{{#if item.psEditor.editorWidth}}width: {{item.psEditor.editorWidth}}px;{{/if}}{{#if item.psEditor.editorHeight}}height: {{item.psEditor.editorHeight}}px{{/if}}"
{{#eq ctrlType 'form'}}
    :value="store.data.{{item.psEditor.name}}"
    @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
{{/eq}}
>

</AppOrgPersonnelSelect>